
#include  <Live.h>
#include <Live/Application.h>

class ExampleLayer : public Live::Layer
{
public:
    ExampleLayer()
        :Layer("Example")
    {

    }
    void OnUpdate() override
    {
        //LE_INFO("ExampleLayer::OnUpdate");
    }
    void OnEvent(Live::Event& event)
    {
        LE_INFO("ExampleLayer::OnEvent():{0}", event);

    }
};
class Sandbox : public Live::Application
{

public:
    Sandbox()  
    {
        PushLayer(new ExampleLayer);
    }
    virtual ~Sandbox()
    {

    }


};


Live::Application* Live::CreateApplication()
{
    return new Sandbox;
}